package com.demo.dropdataack;


import com.demo.dropdataack.service.common.*;
import okhttp3.OkHttpClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.Transactional;

@SpringBootApplication
@EnableScheduling
@Transactional
public class HangYiXingApplication {

    public static void main(String[] args)
    {
        SpringApplication.run(HangYiXingApplication.class, args);
    }


    @Bean
    public PushDataHelper pushDataHelper(){ return new PushDataHelper(); }
    @Bean
    public PushDataPre pushDataPre(){ return new PushDataPre(); }
    @Bean
    public DropDataHelper dropDataHelper(){ return new DropDataHelper(); }
    @Bean
    public TokenHelper tokenHelper(){ return new TokenHelper(); }
    @Bean
    public OkHttpClient okHttpClient(){ return new OkHttpClient(); }
    @Bean
    public DropAckHelper dropAckHelper(){ return new DropAckHelper(); }


}
